package net.xju.entity.Vo;

import net.xju.entity.Goods;

import java.time.LocalDateTime;
import java.util.Date;

public class GoodsVo extends Goods {

    private String typeName;

    public GoodsVo(String typeName) {
        this.typeName = typeName;
    }

    public GoodsVo(Integer id, String name, Integer price, Date pubdate, Integer typeId, String intro, String picture, Integer flag, Integer deleted, LocalDateTime createTime, String typeName) {
        super(id, name, price, pubdate, typeId, intro, picture, flag, deleted, createTime);
        this.typeName = typeName;
    }
    public GoodsVo() {}

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
